export default function (strDate) {
  strDate = strDate + "";
  if (!isNaN(strDate) && strDate.length == 8) {
    strDate = strDate.replace(/^(\d{4})(\d{2})(\d{2})$/, "$1.$2.$3");
  }
  return strDate;
}